<div class="views" ng-controller="ViewwangeditorController">
    <!--头部开始-->
    <!--头部开始-->
    <style>
        /*html,body{*/
            /*width: 100%;*/
            /*height: 100%;*/
            /*overflow-y: auto;*/
        /*}*/
    </style>
    <div class="views-top">
        <i class="views-back" ng-click="goback_toedit()"></i>
        <span class="views-title">编辑观演记</span>
        <span  class="views_caolist" ng-click="nextGo()">完成</span>
    </div>
    <!--头部结束-->
    <!--<div class="addtext-text" style="padding: 0 0.32rem;padding-top: 1.4rem;">-->
    <!--<script id="detail" type="text/plain" style="height:500px;width: 100%;"></script>-->
    <!--</div>-->
    <!--</div>-->
    <div style="padding-top: 1.4rem;">
        <div class="classify-input" >
            <textarea class="text" placeholder="请输入观演记标题"  ng-model="name">{{name}}</textarea>
            <!--<input type="text" placeholder="sdrrt">-->
            <p class="title"><span ng-bind="LeftLength()"></span></p>
        </div>
    </div>

    <div id="vieweditor"  placeholder="写下你的故事" contenteditable="true">



    </div>
    <div class="btn-toolbar vieweditor_btnToolbar" data-role="editor-toolbar" data-target="#vieweditor" id="vieweditor_btnToolbar">
        <div class="btn-group vieweditor_btnGroup" id="vieweditorGroup">
            <a class="btn" data-edit="bold" title="Bold (Ctrl/Cmd+B)"><i class="icon-bold"></i></a>
            <a class="btn" data-edit="italic" title="Italic (Ctrl/Cmd+I)"><i class="icon-italic"></i></a>
            <a class="btn" data-edit="underline" title="Underline (Ctrl/Cmd+U)"><i class="icon-underline"></i></a>
            <span style="position: relative;width: 1.2rem; height: 1.2rem;display: inline-block;">
                  <a class="btn" title="Insert picture (or just drag & drop)" id="pictureBtn"><i class="icon-picture"></i></a>
                 <input type="file" data-role="magic-overlay" style="width: 1.2rem;height: 1.2rem;" data-target="#pictureBtn" data-edit="insertImage" />
            </span>

            <a class="btn" data-edit="justifyleft" title="Align Left (Ctrl/Cmd+L)"><i class="icon-align-left"></i></a>
            <a class="btn" data-edit="justifycenter" title="Center (Ctrl/Cmd+E)"><i class="icon-align-center"></i></a>
            <a class="btn" data-edit="justifyright" title="Align Right (Ctrl/Cmd+R)"><i class="icon-align-right"></i></a>


        </div>


    </div>
    <div class="viewwangedit_fen_dailog"  ng-show="viewwangeditstatus" ng-click="hideviewwangeditdailog()">
        <div class="viewwangedit_fen_dailog_div">
            <div class="viewwangedit_fen_content">
                <div class="viewwangedit_fen_div">
                    <h2>提示</h2>
                    <ul class="viewwangedit_dailog_bottom clear">
                        <span go-back >取消</span>
                        <span ng-click="SaveCaoGaoView()">保存草稿</span>
                    </ul>
                </div>
            </div>
        </div>
    </div>

</div>
